<?php $demande = $form->getObject() ?>
<h1><?php echo $demande->isNew() ? 'New' : 'Edit' ?> DemandeAccesStats</h1>

<form action="<?php echo url_for('demandeAccesStats/update'.(!$demande->isNew() ? '?demande_id='.$demande->getDemandeId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
  <table>
    <tfoot>
      <tr>
        <td colspan="2">
          &nbsp;<a href="<?php echo url_for('demandeAccesStats/index') ?>">Cancel</a>
          <?php if (!$demande->isNew()): ?>
            &nbsp;<?php echo link_to('Delete', 'demandeAccesStats/delete?demande_id='.$demande->getDemandeId(), array('post' => true, 'confirm' => 'Are you sure?')) ?>
          <?php endif; ?>
          <input type="submit" value="Save" />
        </td>
      </tr>
    </tfoot>
    <tbody>
      <?php echo $form->renderGlobalErrors() ?>
      <tr>
        <th><label for="demande_date">Date</label></th>
        <td>
          <?php echo $form['date']->renderError() ?>
          <?php echo $form['date'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_nom">Nom</label></th>
        <td>
          <?php echo $form['nom']->renderError() ?>
          <?php echo $form['nom'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_prenom">Prenom</label></th>
        <td>
          <?php echo $form['prenom']->renderError() ?>
          <?php echo $form['prenom'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_statut_id">Statut id</label></th>
        <td>
          <?php echo $form['statut_id']->renderError() ?>
          <?php echo $form['statut_id'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_statut_autre">Statut autre</label></th>
        <td>
          <?php echo $form['statut_autre']->renderError() ?>
          <?php echo $form['statut_autre'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_etablissement_id">Etablissement id</label></th>
        <td>
          <?php echo $form['etablissement_id']->renderError() ?>
          <?php echo $form['etablissement_id'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_structure_autre">Structure autre</label></th>
        <td>
          <?php echo $form['structure_autre']->renderError() ?>
          <?php echo $form['structure_autre'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_intitule_etude">Intitule etude</label></th>
        <td>
          <?php echo $form['intitule_etude']->renderError() ?>
          <?php echo $form['intitule_etude'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_type_donnees_id">Type donnees id</label></th>
        <td>
          <?php echo $form['type_donnees_id']->renderError() ?>
          <?php echo $form['type_donnees_id'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_type_donnees_autre">Type donnees autre</label></th>
        <td>
          <?php echo $form['type_donnees_autre']->renderError() ?>
          <?php echo $form['type_donnees_autre'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_periode_debut">Periode debut</label></th>
        <td>
          <?php echo $form['periode_debut']->renderError() ?>
          <?php echo $form['periode_debut'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_periode_fin">Periode fin</label></th>
        <td>
          <?php echo $form['periode_fin']->renderError() ?>
          <?php echo $form['periode_fin'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_format_donnees_id">Format donnees id</label></th>
        <td>
          <?php echo $form['format_donnees_id']->renderError() ?>
          <?php echo $form['format_donnees_id'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_is_besoin_assistance">Is besoin assistance</label></th>
        <td>
          <?php echo $form['is_besoin_assistance']->renderError() ?>
          <?php echo $form['is_besoin_assistance'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_type_motivation_id">Type motivation id</label></th>
        <td>
          <?php echo $form['type_motivation_id']->renderError() ?>
          <?php echo $form['type_motivation_id'] ?>
        </td>
      </tr>
      <tr>
        <th><label for="demande_commentaire">Commentaire</label></th>
        <td>
          <?php echo $form['commentaire']->renderError() ?>
          <?php echo $form['commentaire'] ?>

        <?php echo $form['demande_id'] ?>
        </td>
      </tr>
    </tbody>
  </table>
</form>
